.TH std::nested_exception::nested_exception 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::nested_exception::nested_exception \- std::nested_exception::nested_exception

.SH Synopsis
   nested_exception() noexcept;                                       \fB(1)\fP \fI(since C++11)\fP
   nested_exception( const nested_exception& other ) noexcept =       \fB(2)\fP \fI(since C++11)\fP
   default;

   Constructs new nested_exception object.

   1) Default constructor. Stores an exception object obtained by calling
   std::current_exception() within the new nested_exception object.
   2) Copy constructor. Initializes the object with the exception stored in other.

.SH Parameters

   other - nested exception to initialize the contents with
